import {ElMessage} from "element-plus";

export function warning(msg: string){
  ElMessage.warning({
    message: msg,
    showClose: true,
    offset: 50,
    duration: 1000
  })
}
